#ifndef __CPUSKINNING_H__
#define __CPUSKINNING_H__

#include "../GE_Base.h"

class SYPAPI CPUSkinning : public Syp::Pass
{
public:
	CPUSkinning();
	~CPUSkinning(){};

	virtual void destroy();

	virtual bool runnableOnHardware();
///Setup done before pass is drawn. Stuff such as binding vertex/texture/normal/attribute streams can be done here. Transformations/software-skinning/rendertargets.
	virtual void preDraw();
///Any cleanup/popping of matrices/etc.. should be done here. Performed after the pass has been drawn.
	virtual void postDraw();

	void AnimateBoneMesh(Syp::IndexedMesh* m);
};

#endif //__SAMPLE_H__
